Skip to content

bugfix: preserve full buffer lengths when restoring encoder state. - #128

Open
chernetskyi wants to merge 1 commit into
openresty:masterfrom
chernetskyi:fix-buffer-length-truncation
Open

bugfix: preserve full buffer lengths when restoring encoder state.#128
chernetskyi wants to merge 1 commit into
openresty:masterfrom
chernetskyi:fix-buffer-length-truncation

Conversation

@chernetskyi

Copy link
Copy Markdown

Use size_t for strbuf_set_length() and saved array and object positions to prevent truncation above INT_MAX.

Use size_t for strbuf_set_length() and saved array and object positions
to prevent truncation above INT_MAX.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant